-
-
Notifications
You must be signed in to change notification settings - Fork 450
Allow ACL settings for system config "groups" #4326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
A brief description on how to test this would be helpful. |
Example: 70312f3. |
I am not sure how to disable a user from accessing a field. Can you explain how to test this PR? |
This is not used in core, yet! I did not want to add acl-resources in that PR. @empiricompany "asked" for that feature. And imho its very useful for extensions. To test see linked commit. |
Is updated description enough? |
|
Ping @empiricompany Based on your idea. Please take a minute. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds ACL (Access Control List) support for system configuration groups, allowing administrators to control access to specific configuration sections based on user permissions. This feature enables finer-grained permission control over system configuration areas.
- Adds ACL resource checking for configuration groups using an
acl_resource
XML node - Integrates with existing admin session permission validation
- Extends the
_canShowField
method to respect ACL permissions
|
This PR does nothingt at the moment, but can be used in 3rd-party code. To add Merged. |
Fixed Issues (if relevant)
To add ACL-checks to config groups you have to:
adminhtml.xml
acl_resource
node to system.xmls config groups. Eg.Example usage: 70312f3